<script lang="tsx">
import * as icons from '@ant-design/icons-vue';
import { defineComponent, h } from 'vue';
export default defineComponent({
    props: {
        icon: String
    },
    setup(props) {
        const antIcon: any = icons;
        return () => {
            return props.icon ? h(antIcon[props.icon]) : <div />;
        };
    }
});
</script>
